package com.park.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.park.model.Rechargerecord;

public interface RechargerecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Rechargerecord record);

    int insertSelective(Rechargerecord record);

    Rechargerecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Rechargerecord record);

    int updateByPrimaryKey(Rechargerecord record);
    
    public List<Rechargerecord> getPageByParkId(@Param("parkId")int parkId,@Param("start")int start,@Param("count")int count);
    //充值记录搜索根据ParkId
    public List<Rechargerecord> getBySearchRechargeParkId(@Param("parkId")Integer parkId,@Param("plateNumber")String plateNumber,@Param("parkDesc")String parkDesc,@Param("phoneNumber")String phoneNumber,@Param("name")String name);
  //充值记录搜索
    public List<Rechargerecord> getBySearchRecharge(@Param("plateNumber")String plateNumber,@Param("parkDesc")String parkDesc,@Param("phoneNumber")String phoneNumber,@Param("name")String name);
}